package com.jic.product.pojo;

import com.jic.product.entity.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.math.BigDecimal;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@ApiModel(description = " m_category ")
public class MCategory extends BaseEntity {
	private static final long serialVersionUID = 1L;
    @ApiModelProperty(notes = "主键id")
    private Long id;

    @ApiModelProperty(notes = "类目编码")
    private String categoryCode;

    @ApiModelProperty(notes = "第三方编码")
    private String thirdCode;

    @ApiModelProperty(notes = "描述")
    private String description;

    @ApiModelProperty(notes = "类目id全路径")
    private String fullIdPath;

    @ApiModelProperty(notes = "类目name全路径")
    private String fullNamePath;

    @ApiModelProperty(notes = "是否可见1，可见，0隐藏")
    private Integer isVisible;

    @ApiModelProperty(notes = "是否是叶子节点  1代表是  2代表不是")
    private Integer isLeaves;

    @ApiModelProperty(notes = "层级，如：1 标示顶级，2标示第二级 最高允许10级")
    private Integer level;

    @ApiModelProperty(notes = "列表排序")
    private Integer listSort;

    @ApiModelProperty(notes = "节点名称")
    private String name;

    @ApiModelProperty(notes = "父类目节点ID")
    private Long parentId;

    @ApiModelProperty(notes = "图片URL")
    private String pictureUrl;

    @ApiModelProperty(notes = "顶级类目的类型,1=后台类目、2=前台类目")
    private Integer type;

    @ApiModelProperty(notes = "顶级节点id")
    private Long firstCategoryId;

    @ApiModelProperty(notes = "创建人名称")
    private String creatorName;

    @ApiModelProperty(notes = "更新名称")
    private String updaterName;

    @ApiModelProperty(notes = "加价幅度")
    private BigDecimal increment;

}
